
#ifndef COMMON_H_H
#define	COMMON_H_H

#include <stdint.h>
#include <string.h>
#include "nuc970.h"
#include "sys.h"
#include "pincfg.h"
#include "nucclk.h"
#include "sys_ext.h"
#include "dataproc.h"
#include "pulse.h"
#include "mytype.h"

#ifdef	__cplusplus
extern "C" {
#endif

#define DBG_EN           1
#define GD25_DBG_EN      1


#if DBG_EN > 0
#define DBG_INFO          sysprintf
#define DBG_PRINT         sysprintf
#else
#define DBG_INFO(...)
#define DBG_PRINT(...)
#endif

#if (DBG_EN+GD25_DBG_EN) > 1
#define GD25_DBG_INFO          sysprintf
#else
#define GD25_DBG_INFO(...)
#endif


#ifdef	__cplusplus
}
#endif

#endif	/* COMMON_H_H */
